<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, height=device-height, initial-scale=1, user-scalable=no">
  <meta name="description" content="API docs for the TXDeviceManager class from the tx_device_manager library, for the Dart programming language.">
  <title>TXDeviceManager class - tx_device_manager library - Dart API</title>


  
  <link rel="preconnect" href="https://fonts.gstatic.com">
  <link href="https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,300;0,400;0,500;0,700;1,400&display=swap" rel="stylesheet">
  <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
  
  <link rel="stylesheet" href="../static-assets/github.css?v1">
  <link rel="stylesheet" href="../static-assets/styles.css?v1">
  <link rel="icon" href="../static-assets/favicon.png?v1">

  
</head>


<body data-base-href="../"
      data-using-base-href="false">

<div id="overlay-under-drawer"></div>

<header id="title">
  <button id="sidenav-left-toggle" type="button">&nbsp;</button>
  <ol class="breadcrumbs gt-separated dark hidden-xs">
    <li><a href="../index.html">tencent_trtc_cloud</a></li>
    <li><a href="../tx_device_manager/tx_device_manager-library.html">tx_device_manager</a></li>
    <li class="self-crumb">TXDeviceManager class</li>
  </ol>
  <div class="self-name">TXDeviceManager</div>
  <form class="search navbar-right" role="search">
    <input type="text" id="search-box" autocomplete="off" disabled class="form-control typeahead" placeholder="Loading search...">
  </form>
</header>

<main>


  <div id="dartdoc-main-content" class="main-content">
      <div>
<h1><span class="kind-class">TXDeviceManager</span> class 
    <a href="https://dart.dev/null-safety" class="feature feature-null-safety" title="Supports the null safety language feature.">Null safety</a>
 
</h1></div>

    
<section class="desc markdown">
  <p>设备管理</p>
</section>



    <section class="summary offset-anchor" id="constructors">
      <h2>Constructors</h2>

      <dl class="constructor-summary-list">
        <dt id="TXDeviceManager" class="callable">
          <span class="name"><a href="../tx_device_manager/TXDeviceManager/TXDeviceManager.html">TXDeviceManager</a></span><span class="signature">(<span class="parameter" id="-param-channel"><span class="type-annotation">dynamic</span> <span class="parameter-name">channel</span></span>)</span>
        </dt>
        <dd>
           
        </dd>
      </dl>
    </section>

    <section class="summary offset-anchor inherited" id="instance-properties">
      <h2>Properties</h2>

      <dl class="properties">
        <dt id="hashCode" class="property inherited">
  <span class="name"><a href="https://api.flutter.dev/flutter/dart-core/Object/hashCode.html">hashCode</a></span>
  <span class="signature">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/int-class.html">int</a></span> 

</dt>
<dd class="inherited">
  The hash code for this object. <a href="https://api.flutter.dev/flutter/dart-core/Object/hashCode.html">[...]</a>
  <div class="features">read-only, inherited</div>

</dd>

        <dt id="runtimeType" class="property inherited">
  <span class="name"><a href="https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html">runtimeType</a></span>
  <span class="signature">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/Type-class.html">Type</a></span> 

</dt>
<dd class="inherited">
  A representation of the runtime type of the object. 
  <div class="features">read-only, inherited</div>

</dd>

      </dl>
    </section>

    <section class="summary offset-anchor" id="instance-methods">
      <h2>Methods</h2>
      <dl class="callables">
        <dt id="enableCameraAutoFocus" class="callable">
  <span class="name"><a href="../tx_device_manager/TXDeviceManager/enableCameraAutoFocus.html">enableCameraAutoFocus</a></span><span class="signature">(<wbr><span class="parameter" id="enableCameraAutoFocus-param-enable"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/bool-class.html">bool</a></span> <span class="parameter-name">enable</span></span>)
    <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-async/Future-class.html">Future</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="https://api.flutter.dev/flutter/dart-core/int-class.html">int</a>?</span>&gt;</span></span>
  </span>
  

</dt>
<dd>
  设置是否自动识别人脸位置 <a href="../tx_device_manager/TXDeviceManager/enableCameraAutoFocus.html">[...]</a>
  

</dd>

        <dt id="enableCameraTorch" class="callable">
  <span class="name"><a href="../tx_device_manager/TXDeviceManager/enableCameraTorch.html">enableCameraTorch</a></span><span class="signature">(<wbr><span class="parameter" id="enableCameraTorch-param-enable"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/bool-class.html">bool</a></span> <span class="parameter-name">enable</span></span>)
    <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-async/Future-class.html">Future</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="https://api.flutter.dev/flutter/dart-core/bool-class.html">bool</a>?</span>&gt;</span></span>
  </span>
  

</dt>
<dd>
  开关闪光灯。 <a href="../tx_device_manager/TXDeviceManager/enableCameraTorch.html">[...]</a>
  

</dd>

        <dt id="getApplicationMuteState" class="callable">
  <span class="name"><a href="../tx_device_manager/TXDeviceManager/getApplicationMuteState.html">getApplicationMuteState</a></span><span class="signature">(<wbr>)
    <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-async/Future-class.html">Future</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="https://api.flutter.dev/flutter/dart-core/bool-class.html">bool</a>?</span>&gt;</span></span>
  </span>
  

</dt>
<dd>
  获取 Windows 系统音量合成器中当前进程的静音状态 <a href="../tx_device_manager/TXDeviceManager/getApplicationMuteState.html">[...]</a>
  

</dd>

        <dt id="getApplicationPlayVolume" class="callable">
  <span class="name"><a href="../tx_device_manager/TXDeviceManager/getApplicationPlayVolume.html">getApplicationPlayVolume</a></span><span class="signature">(<wbr>)
    <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-async/Future-class.html">Future</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="https://api.flutter.dev/flutter/dart-core/int-class.html">int</a>?</span>&gt;</span></span>
  </span>
  

</dt>
<dd>
  获取 Windows 系统音量合成器中当前进程的音量 <a href="../tx_device_manager/TXDeviceManager/getApplicationPlayVolume.html">[...]</a>
  

</dd>

        <dt id="getCameraZoomMaxRatio" class="callable">
  <span class="name"><a href="../tx_device_manager/TXDeviceManager/getCameraZoomMaxRatio.html">getCameraZoomMaxRatio</a></span><span class="signature">(<wbr>)
    <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-async/Future-class.html">Future</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="https://api.flutter.dev/flutter/dart-core/double-class.html">double</a>?</span>&gt;</span></span>
  </span>
  

</dt>
<dd>
  获取摄像头的缩放因子 <a href="../tx_device_manager/TXDeviceManager/getCameraZoomMaxRatio.html">[...]</a>
  

</dd>

        <dt id="getCurrentDevice" class="callable">
  <span class="name"><a href="../tx_device_manager/TXDeviceManager/getCurrentDevice.html">getCurrentDevice</a></span><span class="signature">(<wbr><span class="parameter" id="getCurrentDevice-param-type"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/int-class.html">int</a></span> <span class="parameter-name">type</span></span>)
    <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-async/Future-class.html">Future</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="https://api.flutter.dev/flutter/dart-core/Map-class.html">Map</a>?</span>&gt;</span></span>
  </span>
  

</dt>
<dd>
  获取当前使用的设备 <a href="../tx_device_manager/TXDeviceManager/getCurrentDevice.html">[...]</a>
  

</dd>

        <dt id="getCurrentDeviceMute" class="callable">
  <span class="name"><a href="../tx_device_manager/TXDeviceManager/getCurrentDeviceMute.html">getCurrentDeviceMute</a></span><span class="signature">(<wbr><span class="parameter" id="getCurrentDeviceMute-param-type"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/int-class.html">int</a></span> <span class="parameter-name">type</span></span>)
    <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-async/Future-class.html">Future</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="https://api.flutter.dev/flutter/dart-core/bool-class.html">bool</a>?</span>&gt;</span></span>
  </span>
  

</dt>
<dd>
  查询当前设备是否静音 <a href="../tx_device_manager/TXDeviceManager/getCurrentDeviceMute.html">[...]</a>
  

</dd>

        <dt id="getCurrentDeviceVolume" class="callable">
  <span class="name"><a href="../tx_device_manager/TXDeviceManager/getCurrentDeviceVolume.html">getCurrentDeviceVolume</a></span><span class="signature">(<wbr><span class="parameter" id="getCurrentDeviceVolume-param-type"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/int-class.html">int</a></span> <span class="parameter-name">type</span></span>)
    <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-async/Future-class.html">Future</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="https://api.flutter.dev/flutter/dart-core/int-class.html">int</a>?</span>&gt;</span></span>
  </span>
  

</dt>
<dd>
  获取当前设备的音量 <a href="../tx_device_manager/TXDeviceManager/getCurrentDeviceVolume.html">[...]</a>
  

</dd>

        <dt id="getDevicesList" class="callable">
  <span class="name"><a href="../tx_device_manager/TXDeviceManager/getDevicesList.html">getDevicesList</a></span><span class="signature">(<wbr><span class="parameter" id="getDevicesList-param-type"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/int-class.html">int</a></span> <span class="parameter-name">type</span></span>)
    <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-async/Future-class.html">Future</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="https://api.flutter.dev/flutter/dart-core/Map-class.html">Map</a>?</span>&gt;</span></span>
  </span>
  

</dt>
<dd>
  获取设备列表 <a href="../tx_device_manager/TXDeviceManager/getDevicesList.html">[...]</a>
  

</dd>

        <dt id="isAutoFocusEnabled" class="callable">
  <span class="name"><a href="../tx_device_manager/TXDeviceManager/isAutoFocusEnabled.html">isAutoFocusEnabled</a></span><span class="signature">(<wbr>)
    <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-async/Future-class.html">Future</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="https://api.flutter.dev/flutter/dart-core/bool-class.html">bool</a>?</span>&gt;</span></span>
  </span>
  

</dt>
<dd>
  查询是否支持自动识别人脸位置 <a href="../tx_device_manager/TXDeviceManager/isAutoFocusEnabled.html">[...]</a>
  

</dd>

        <dt id="isFrontCamera" class="callable">
  <span class="name"><a href="../tx_device_manager/TXDeviceManager/isFrontCamera.html">isFrontCamera</a></span><span class="signature">(<wbr>)
    <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-async/Future-class.html">Future</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="https://api.flutter.dev/flutter/dart-core/bool-class.html">bool</a>?</span>&gt;</span></span>
  </span>
  

</dt>
<dd>
  是否使用前置摄像头 <a href="../tx_device_manager/TXDeviceManager/isFrontCamera.html">[...]</a>
  

</dd>

        <dt id="noSuchMethod" class="callable inherited">
  <span class="name"><a href="https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html">noSuchMethod</a></span><span class="signature">(<wbr><span class="parameter" id="noSuchMethod-param-invocation"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/Invocation-class.html">Invocation</a></span> <span class="parameter-name">invocation</span></span>)
    <span class="returntype parameter">&#8594; dynamic</span>
  </span>
  

</dt>
<dd class="inherited">
  Invoked when a non-existent method or property is accessed. <a href="https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html">[...]</a>
  <div class="features">inherited</div>

</dd>

        <dt id="setApplicationMuteState" class="callable">
  <span class="name"><a href="../tx_device_manager/TXDeviceManager/setApplicationMuteState.html">setApplicationMuteState</a></span><span class="signature">(<wbr><span class="parameter" id="setApplicationMuteState-param-bMute"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/bool-class.html">bool</a></span> <span class="parameter-name">bMute</span></span>)
    <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-async/Future-class.html">Future</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="https://api.flutter.dev/flutter/dart-core/int-class.html">int</a>?</span>&gt;</span></span>
  </span>
  

</dt>
<dd>
  设置 Windows 系统音量合成器中当前进程的静音状态 <a href="../tx_device_manager/TXDeviceManager/setApplicationMuteState.html">[...]</a>
  

</dd>

        <dt id="setApplicationPlayVolume" class="callable">
  <span class="name"><a href="../tx_device_manager/TXDeviceManager/setApplicationPlayVolume.html">setApplicationPlayVolume</a></span><span class="signature">(<wbr><span class="parameter" id="setApplicationPlayVolume-param-volume"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/int-class.html">int</a></span> <span class="parameter-name">volume</span></span>)
    <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-async/Future-class.html">Future</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="https://api.flutter.dev/flutter/dart-core/int-class.html">int</a>?</span>&gt;</span></span>
  </span>
  

</dt>
<dd>
  设置 Windows 系统音量合成器中当前进程的音量 <a href="../tx_device_manager/TXDeviceManager/setApplicationPlayVolume.html">[...]</a>
  

</dd>

        <dt id="setAudioRoute" class="callable">
  <span class="name"><a href="../tx_device_manager/TXDeviceManager/setAudioRoute.html">setAudioRoute</a></span><span class="signature">(<wbr><span class="parameter" id="setAudioRoute-param-route"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/int-class.html">int</a></span> <span class="parameter-name">route</span></span>)
    <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-async/Future-class.html">Future</a><span class="signature">&lt;<wbr><span class="type-parameter">void</span>&gt;</span></span>
  </span>
  

</dt>
<dd>
  设置音频路由。 <a href="../tx_device_manager/TXDeviceManager/setAudioRoute.html">[...]</a>
  

</dd>

        <dt id="setCameraFocusPosition" class="callable">
  <span class="name"><a href="../tx_device_manager/TXDeviceManager/setCameraFocusPosition.html">setCameraFocusPosition</a></span><span class="signature">(<wbr><span class="parameter" id="setCameraFocusPosition-param-x"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/int-class.html">int</a></span> <span class="parameter-name">x</span>, </span><span class="parameter" id="setCameraFocusPosition-param-y"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/int-class.html">int</a></span> <span class="parameter-name">y</span></span>)
    <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-async/Future-class.html">Future</a><span class="signature">&lt;<wbr><span class="type-parameter">void</span>&gt;</span></span>
  </span>
  

</dt>
<dd>
  设置摄像头焦点。 <a href="../tx_device_manager/TXDeviceManager/setCameraFocusPosition.html">[...]</a>
  

</dd>

        <dt id="setCameraZoomRatio" class="callable">
  <span class="name"><a href="../tx_device_manager/TXDeviceManager/setCameraZoomRatio.html">setCameraZoomRatio</a></span><span class="signature">(<wbr><span class="parameter" id="setCameraZoomRatio-param-value"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/double-class.html">double</a></span> <span class="parameter-name">value</span></span>)
    <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-async/Future-class.html">Future</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="https://api.flutter.dev/flutter/dart-core/int-class.html">int</a>?</span>&gt;</span></span>
  </span>
  

</dt>
<dd>
  设置摄像头缩放因子（焦距）。 <a href="../tx_device_manager/TXDeviceManager/setCameraZoomRatio.html">[...]</a>
  

</dd>

        <dt id="setCurrentDevice" class="callable">
  <span class="name"><a href="../tx_device_manager/TXDeviceManager/setCurrentDevice.html">setCurrentDevice</a></span><span class="signature">(<wbr><span class="parameter" id="setCurrentDevice-param-type"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/int-class.html">int</a></span> <span class="parameter-name">type</span>, </span><span class="parameter" id="setCurrentDevice-param-deviceId"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a></span> <span class="parameter-name">deviceId</span></span>)
    <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-async/Future-class.html">Future</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="https://api.flutter.dev/flutter/dart-core/int-class.html">int</a>?</span>&gt;</span></span>
  </span>
  

</dt>
<dd>
  指定当前设备 <a href="../tx_device_manager/TXDeviceManager/setCurrentDevice.html">[...]</a>
  

</dd>

        <dt id="setCurrentDeviceMute" class="callable">
  <span class="name"><a href="../tx_device_manager/TXDeviceManager/setCurrentDeviceMute.html">setCurrentDeviceMute</a></span><span class="signature">(<wbr><span class="parameter" id="setCurrentDeviceMute-param-type"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/int-class.html">int</a></span> <span class="parameter-name">type</span>, </span><span class="parameter" id="setCurrentDeviceMute-param-mute"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/bool-class.html">bool</a></span> <span class="parameter-name">mute</span></span>)
    <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-async/Future-class.html">Future</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="https://api.flutter.dev/flutter/dart-core/int-class.html">int</a>?</span>&gt;</span></span>
  </span>
  

</dt>
<dd>
  设置当前设备是否静音 <a href="../tx_device_manager/TXDeviceManager/setCurrentDeviceMute.html">[...]</a>
  

</dd>

        <dt id="setCurrentDeviceVolume" class="callable">
  <span class="name"><a href="../tx_device_manager/TXDeviceManager/setCurrentDeviceVolume.html">setCurrentDeviceVolume</a></span><span class="signature">(<wbr><span class="parameter" id="setCurrentDeviceVolume-param-type"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/int-class.html">int</a></span> <span class="parameter-name">type</span>, </span><span class="parameter" id="setCurrentDeviceVolume-param-volume"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/int-class.html">int</a></span> <span class="parameter-name">volume</span></span>)
    <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-async/Future-class.html">Future</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="https://api.flutter.dev/flutter/dart-core/int-class.html">int</a>?</span>&gt;</span></span>
  </span>
  

</dt>
<dd>
  设置当前设备的音量 <a href="../tx_device_manager/TXDeviceManager/setCurrentDeviceVolume.html">[...]</a>
  

</dd>

        <dt id="setSystemVolumeType" class="callable">
  <span class="name"><a href="../tx_device_manager/TXDeviceManager/setSystemVolumeType.html">setSystemVolumeType</a></span><span class="signature">(<wbr><span class="parameter" id="setSystemVolumeType-param-type"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/int-class.html">int</a></span> <span class="parameter-name">type</span></span>)
    <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-async/Future-class.html">Future</a><span class="signature">&lt;<wbr><span class="type-parameter">void</span>&gt;</span></span>
  </span>
  

</dt>
<dd>
  设置通话时使用的系统音量类型。 <a href="../tx_device_manager/TXDeviceManager/setSystemVolumeType.html">[...]</a>
  

</dd>

        <dt id="startMicDeviceTest" class="callable">
  <span class="name"><a href="../tx_device_manager/TXDeviceManager/startMicDeviceTest.html">startMicDeviceTest</a></span><span class="signature">(<wbr><span class="parameter" id="startMicDeviceTest-param-interval"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/int-class.html">int</a></span> <span class="parameter-name">interval</span></span>)
    <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-async/Future-class.html">Future</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="https://api.flutter.dev/flutter/dart-core/int-class.html">int</a>?</span>&gt;</span></span>
  </span>
  

</dt>
<dd>
  开始麦克风测试 <a href="../tx_device_manager/TXDeviceManager/startMicDeviceTest.html">[...]</a>
  

</dd>

        <dt id="startSpeakerDeviceTest" class="callable">
  <span class="name"><a href="../tx_device_manager/TXDeviceManager/startSpeakerDeviceTest.html">startSpeakerDeviceTest</a></span><span class="signature">(<wbr><span class="parameter" id="startSpeakerDeviceTest-param-filePath"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a></span> <span class="parameter-name">filePath</span></span>)
    <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-async/Future-class.html">Future</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="https://api.flutter.dev/flutter/dart-core/int-class.html">int</a>?</span>&gt;</span></span>
  </span>
  

</dt>
<dd>
  开始扬声器测试 <a href="../tx_device_manager/TXDeviceManager/startSpeakerDeviceTest.html">[...]</a>
  

</dd>

        <dt id="stopMicDeviceTest" class="callable">
  <span class="name"><a href="../tx_device_manager/TXDeviceManager/stopMicDeviceTest.html">stopMicDeviceTest</a></span><span class="signature">(<wbr>)
    <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-async/Future-class.html">Future</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="https://api.flutter.dev/flutter/dart-core/int-class.html">int</a>?</span>&gt;</span></span>
  </span>
  

</dt>
<dd>
  结束麦克风测试 <a href="../tx_device_manager/TXDeviceManager/stopMicDeviceTest.html">[...]</a>
  

</dd>

        <dt id="stopSpeakerDeviceTest" class="callable">
  <span class="name"><a href="../tx_device_manager/TXDeviceManager/stopSpeakerDeviceTest.html">stopSpeakerDeviceTest</a></span><span class="signature">(<wbr>)
    <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-async/Future-class.html">Future</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="https://api.flutter.dev/flutter/dart-core/int-class.html">int</a>?</span>&gt;</span></span>
  </span>
  

</dt>
<dd>
  停止扬声器测试 <a href="../tx_device_manager/TXDeviceManager/stopSpeakerDeviceTest.html">[...]</a>
  

</dd>

        <dt id="switchCamera" class="callable">
  <span class="name"><a href="../tx_device_manager/TXDeviceManager/switchCamera.html">switchCamera</a></span><span class="signature">(<wbr><span class="parameter" id="switchCamera-param-isFrontCamera"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/bool-class.html">bool</a></span> <span class="parameter-name">isFrontCamera</span></span>)
    <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-async/Future-class.html">Future</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="https://api.flutter.dev/flutter/dart-core/int-class.html">int</a>?</span>&gt;</span></span>
  </span>
  

</dt>
<dd>
  切换摄像头。 <a href="../tx_device_manager/TXDeviceManager/switchCamera.html">[...]</a>
  

</dd>

        <dt id="toString" class="callable inherited">
  <span class="name"><a href="https://api.flutter.dev/flutter/dart-core/Object/toString.html">toString</a></span><span class="signature">(<wbr>)
    <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a></span>
  </span>
  

</dt>
<dd class="inherited">
  A string representation of this object. <a href="https://api.flutter.dev/flutter/dart-core/Object/toString.html">[...]</a>
  <div class="features">inherited</div>

</dd>

      </dl>
    </section>

    <section class="summary offset-anchor inherited" id="operators">
      <h2>Operators</h2>
      <dl class="callables">
        <dt id="operator ==" class="callable inherited">
  <span class="name"><a href="https://api.flutter.dev/flutter/dart-core/Object/operator_equals.html">operator ==</a></span><span class="signature">(<wbr><span class="parameter" id="==-param-other"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/Object-class.html">Object</a></span> <span class="parameter-name">other</span></span>)
    <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/bool-class.html">bool</a></span>
  </span>
  

</dt>
<dd class="inherited">
  The equality operator. <a href="https://api.flutter.dev/flutter/dart-core/Object/operator_equals.html">[...]</a>
  <div class="features">inherited</div>

</dd>

      </dl>
    </section>




  </div> <!-- /.main-content -->

  <div id="dartdoc-sidebar-left" class="sidebar sidebar-offcanvas-left">
    <header id="header-search-sidebar" class="hidden-l">
  <form class="search-sidebar" role="search">
    <input type="text" id="search-sidebar" autocomplete="off" disabled class="form-control typeahead" placeholder="Loading search...">
  </form>
</header>

<ol class="breadcrumbs gt-separated dark hidden-l" id="sidebar-nav">
  <li><a href="../index.html">tencent_trtc_cloud</a></li>
  <li><a href="../tx_device_manager/tx_device_manager-library.html">tx_device_manager</a></li>
  <li class="self-crumb">TXDeviceManager class</li>
</ol>


    <h5>tx_device_manager library</h5>
    <ol>
  <li class="section-title"><a href="../tx_device_manager/tx_device_manager-library.html#classes">Classes</a></li>
  <li><a href="../tx_device_manager/TXDeviceManager-class.html">TXDeviceManager</a></li>








</ol>

  </div>

  <div id="dartdoc-sidebar-right" class="sidebar sidebar-offcanvas-right">
    <ol>

    <li class="section-title"><a href="../tx_device_manager/TXDeviceManager-class.html#constructors">Constructors</a></li>
    <li><a href="../tx_device_manager/TXDeviceManager/TXDeviceManager.html">TXDeviceManager</a></li>


    <li class="section-title inherited">
      <a href="../tx_device_manager/TXDeviceManager-class.html#instance-properties">Properties</a>
    </li>
    <li class="inherited"><a href="https://api.flutter.dev/flutter/dart-core/Object/hashCode.html">hashCode</a></li>
    <li class="inherited"><a href="https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html">runtimeType</a></li>

    <li class="section-title"><a href="../tx_device_manager/TXDeviceManager-class.html#instance-methods">Methods</a></li>
    <li><a href="../tx_device_manager/TXDeviceManager/enableCameraAutoFocus.html">enableCameraAutoFocus</a></li>
    <li><a href="../tx_device_manager/TXDeviceManager/enableCameraTorch.html">enableCameraTorch</a></li>
    <li><a href="../tx_device_manager/TXDeviceManager/getApplicationMuteState.html">getApplicationMuteState</a></li>
    <li><a href="../tx_device_manager/TXDeviceManager/getApplicationPlayVolume.html">getApplicationPlayVolume</a></li>
    <li><a href="../tx_device_manager/TXDeviceManager/getCameraZoomMaxRatio.html">getCameraZoomMaxRatio</a></li>
    <li><a href="../tx_device_manager/TXDeviceManager/getCurrentDevice.html">getCurrentDevice</a></li>
    <li><a href="../tx_device_manager/TXDeviceManager/getCurrentDeviceMute.html">getCurrentDeviceMute</a></li>
    <li><a href="../tx_device_manager/TXDeviceManager/getCurrentDeviceVolume.html">getCurrentDeviceVolume</a></li>
    <li><a href="../tx_device_manager/TXDeviceManager/getDevicesList.html">getDevicesList</a></li>
    <li><a href="../tx_device_manager/TXDeviceManager/isAutoFocusEnabled.html">isAutoFocusEnabled</a></li>
    <li><a href="../tx_device_manager/TXDeviceManager/isFrontCamera.html">isFrontCamera</a></li>
    <li class="inherited"><a href="https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html">noSuchMethod</a></li>
    <li><a href="../tx_device_manager/TXDeviceManager/setApplicationMuteState.html">setApplicationMuteState</a></li>
    <li><a href="../tx_device_manager/TXDeviceManager/setApplicationPlayVolume.html">setApplicationPlayVolume</a></li>
    <li><a href="../tx_device_manager/TXDeviceManager/setAudioRoute.html">setAudioRoute</a></li>
    <li><a href="../tx_device_manager/TXDeviceManager/setCameraFocusPosition.html">setCameraFocusPosition</a></li>
    <li><a href="../tx_device_manager/TXDeviceManager/setCameraZoomRatio.html">setCameraZoomRatio</a></li>
    <li><a href="../tx_device_manager/TXDeviceManager/setCurrentDevice.html">setCurrentDevice</a></li>
    <li><a href="../tx_device_manager/TXDeviceManager/setCurrentDeviceMute.html">setCurrentDeviceMute</a></li>
    <li><a href="../tx_device_manager/TXDeviceManager/setCurrentDeviceVolume.html">setCurrentDeviceVolume</a></li>
    <li><a href="../tx_device_manager/TXDeviceManager/setSystemVolumeType.html">setSystemVolumeType</a></li>
    <li><a href="../tx_device_manager/TXDeviceManager/startMicDeviceTest.html">startMicDeviceTest</a></li>
    <li><a href="../tx_device_manager/TXDeviceManager/startSpeakerDeviceTest.html">startSpeakerDeviceTest</a></li>
    <li><a href="../tx_device_manager/TXDeviceManager/stopMicDeviceTest.html">stopMicDeviceTest</a></li>
    <li><a href="../tx_device_manager/TXDeviceManager/stopSpeakerDeviceTest.html">stopSpeakerDeviceTest</a></li>
    <li><a href="../tx_device_manager/TXDeviceManager/switchCamera.html">switchCamera</a></li>
    <li class="inherited"><a href="https://api.flutter.dev/flutter/dart-core/Object/toString.html">toString</a></li>

    <li class="section-title inherited"><a href="../tx_device_manager/TXDeviceManager-class.html#operators">Operators</a></li>
    <li class="inherited"><a href="https://api.flutter.dev/flutter/dart-core/Object/operator_equals.html">operator ==</a></li>




</ol>

  </div><!--/.sidebar-offcanvas-->

</main>

<footer>
  <span class="no-break">
    tencent_trtc_cloud
      1.2.4
  </span>

  
</footer>



<script src="../static-assets/highlight.pack.js?v1"></script>
<script src="../static-assets/script.js?v1"></script>



</body>

</html>

